package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.po.SmNoticeBase;
import com.ruoyi.project.system.domain.vo.UnReadNotice;

import java.util.List;

/**
 * 通知公告表 数据层
 */
public interface SysNoticeMapper {

    UnReadNotice firstUnReadNotice(Long userId);

    int addNoticeRecord(Long userId, Integer noticeId);

    List<SmNoticeBase> selectSmNoticeList();

    int updateSmNotice(SmNoticeBase notice);

    int insertSmNotice(SmNoticeBase notice);

    int deleteSmNoticeById(Integer id);

}